//
//  WXSSleepStatusModel.h
//  SleepBooks
//
//  Created by 王勇 on 16/9/10.
//  Copyright © 2016年 rimi. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface WXSSleepStatusModel : NSObject<NSCoding>

@property (nonatomic,strong)NSDate *startTime;
@property (nonatomic,strong)NSDate *endTime;
@property (nonatomic,assign)NSTimeInterval statusDuration;

@end

@interface WXSDeepSleepStatusModel : WXSSleepStatusModel
+(instancetype)startDeepSleep;
-(void)endDeepSleep;

@end





@interface WXSShallowSleepStatusModel : WXSSleepStatusModel
+(instancetype)startShallowSleep;
-(void)endShallowSleep;
@end


@interface WXSAwakeSleepStatusModel : WXSSleepStatusModel
+(instancetype)startAwake;
-(void)endAwake;
@end


